package com.zs.backend.modules.mobileManagement.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Builder
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor  // 添加无参构造方法
public class MobileManagementDTO {

    private Long id;

    @ApiModelProperty("地区")
    private String area;

    @ApiModelProperty("地区 Code")
    private String areaCode;

    @ApiModelProperty("管理人员")
    private String managementUser;

    @ApiModelProperty("年限")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date yearTime;

    @ApiModelProperty("手机号码")
    private String tel;

    @ApiModelProperty("手机号码-加密")
    private String encodeTel;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("身份证号")
    private String idCard;

    @ApiModelProperty("身份证号-加密")
    private String encodeIdCard;

    @ApiModelProperty("证书编号")
    private String certificateNumber;

    @ApiModelProperty("专业")
    private String major;

    @ApiModelProperty("职称分类")
    private String titleCategory;

    @ApiModelProperty("拨打电话时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date callTime;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty("创建人id")
    private Long createUid;

    @ApiModelProperty("创建人名称")
    private String createUname;

    @ApiModelProperty("状态（0：未使用;1：已使用）")
    private Integer status;

    private Date startYearTime;
    private Date endYearTime;

    private Date startCallTime;
    private Date endCallTime;

}
